
/**
 * Write a description of class MallardDuck here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class MallardDuck extends Duck {
    // instance variables - replace the example below with your own

    /**
     * Constructor for objects of class MallardDuck
     */
    public MallardDuck()
    {
        quackBehavior = new Quack();
        flyBehavior = new FlyWithWings();
    }
    
    public void display(){
        System.out.println("I'm a real Mallard duck");
    }

}
